USE [Training]
GO

IF NOT EXISTS (SELECT * from dbo.sysobjects WHERE id = OBJECT_ID(N'dbo.training_api_TrainingRecordDelete'))
	EXEC('CREATE PROC dbo.training_api_TrainingRecordDelete AS')
GO

ALTER PROC dbo.training_api_TrainingRecordDelete
	@TrainingRecordID	int
AS
	DELETE FROM TrainingRecord
	WHERE TrainingRecordID = @TrainingRecordID

